package cn.tfyhyc.springcloud.controller.stream;

import org.springframework.cloud.stream.annotation.Input;
import org.springframework.cloud.stream.messaging.Sink;
import org.springframework.messaging.SubscribableChannel;

/**
 * @author 头发又黑又长
 * @Date 2022/10/18 23:44
 * @email zwb15083976291@163.com
 */
public interface CustomSink {
    String INPUT = "custom_input";

    @Input(CustomSink.INPUT)
    SubscribableChannel input();
}
